package com.codingfly.core.exception;

public class UnauthorizedException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private int httpCode = 403;

    public UnauthorizedException() {
        super("禁止访问");
    }

    public int getHttpCode() {
        return this.httpCode;
    }

    public void setHttpCode(int httpCode) {
        this.httpCode = httpCode;
    }

}